package johnsen.id.project;

import java.awt.event.KeyEvent;

public class CompWonState {
	public static void run(){
		while (true) {
			if (StdDraw.isKeyPressed(KeyEvent.VK_ESCAPE)){
				MenuState.menu();
			}
			
			clear();
			print();
			StdDraw.show(15);
		}
	}
	
	public static void print(){
		StdDraw.setPenColor(StdDraw.WHITE);
		StdDraw.text(0, 0, "Computer Won. Obviously.");
	}
	public static void clear(){
		StdDraw.clear(StdDraw.BLACK);
	}
}
